<template>
  <div class="content-wrap">
    <el-row :gutter="20">
      <el-col :span="4" v-for="item in 24" :key="item"
        ><div class="grid-content">
          <div class="main">{{ item }}F{{ item }}号梯屏幕</div>
          <div class="foot-btn">
            <span>运行状态</span>
            <span @click="start(item)">启动</span>
          </div>
        </div></el-col
      >
    </el-row>
  </div>
</template>
<script>
export default {
  name: 'informationRelease',
  data() {
    return {};
  },
  methods: {
    start(item) {
      this.$message.info(`${item}F${item}号屏幕已启动`);
    }
  }
};
</script>
<style lang="scss" scoped>
.content-wrap {
  margin: 50px;
  width: 95%;
  .main {
    background: #255a8a;
    height: 120px;
    border: 2px solid #000000;
    text-align: center;
    line-height: 120px;
    font-size: 16px;
    color: #fff;
  }
  .foot-btn {
    margin-top: 3px;
    background: #c0c0c0;
    display: flex;
    font-size: 12px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    span:nth-of-type(1) {
      color: #000;
      margin-left: 15px;
    }
    span:nth-of-type(2) {
      color: #fff;
      height: 20px;
      width: 50px;
      background: #337007;
      text-align: center;
      line-height: 20px;
      margin-right: 10px;
      cursor: pointer;
    }
  }
}
</style>
